Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include retry policy in Channel.fromSRA factory #5387

Closed
wants to merge 1 commit into from

Conversation

jorgee
Copy link
Contributor

@jorgee jorgee commented Oct 10, 2024

A retry policy is included in the Channel.fromSRA factory following the same approach as used when retriable failures appear in the wave, azure APIs.

  • The SraRetryConfig and corresponding SraRetryConfigTest classes are created to manage the retry policy properties
  • SraExplorer class is modify to include the retryPolicy option and the management of the retry of the request calls.
  • New tests has been added to SraExplorerTest and ChannelTest to validate the changes.
  • Update documentation with the new retryPolicy option in the Channel.fromSRA

Note: The SraExplorer class was using a deprecated constructor URL() to create a URL. As suggested by the deprecation message, it is changed by new URI().toURL()

Copy link

netlify bot commented Oct 10, 2024

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 10c2502
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/6707a18f26f21d0008548313

@jorgee jorgee closed this Oct 10, 2024
@jorgee jorgee deleted the test_retry_sra_failures branch October 10, 2024 09:59
@pditommaso
Copy link
Member

Guess this was closed in favour of #5389?

@jorgee
Copy link
Contributor Author

jorgee commented Oct 11, 2024

Yes, due to the issues with the tests, I was testing if they were caused by the branch name. It launched 2 CI pipelines one for the PR and another by a push to a 'test*' branch. This why I closed and rename the branch.

@pditommaso
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants